package com.springboot.web.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Address {

    @JsonProperty("address_id")
    private Integer addressId;

    private String address;

    private String address2;

    private String district;

    @JsonProperty("city_id")
    private Integer cityId;

    @JsonProperty("postal_code")
    private String postalCode;

    private String phone;

    private String location;

    private java.util.Date lastUpdate;
}
